.TH GROUPS 1 "GNU Shell Utilities" "FSF" \" -*- nroff -*-
.SH NAME
groups \- print the groups a user is in
.SH SYNOPSIS
.B groups
[username...]
.br
.B groups
{\-\-help,\-\-version}
.SH DESCRIPTION
This documentation is no longer being maintained and may be inaccurate
or incomplete.  The Texinfo documentation is now the authoritative source.
.PP
This manual page
documents the GNU version of
.BR groups .
.B groups
prints the names of the supplementary groups that each given
.IR username ,
or the current process if none are given, is in.
If user names are given, the name of each user is printed before the
list of that user's groups.
.PP
The group lists are equivalent to the output of the command `id \-Gn'.
.SS OPTIONS
When GNU
.B groups
is invoked with exactly one argument, the following options are recognized:
.TP
.I "\-\-help"
Print a usage message on standard output and exit successfully.
.TP
.I "\-\-version"
Print version information on standard output then exit successfully.
